40BCopyToClientFields

206BDescription

This business rule allows one or more MathVariables to be copied from an activity to one or more client fields, upon processing the activity to which this CopyToClientFields rule is attached.

207BCopyToClientFields Element\Attribute Table

Element/Tag

Definition

Attribute

Element/Attribute Value and Description

<CopyToClientFields>

Required opening and closing tag of the CopyToClientFields rule. 

Note: 
CLIENTGUID attribute is optional.

CLIENTGUID

Optional attribute;
MathVariable

This attribute is used to specify the ClientGUID of the client whose records are to be updated.
 

Note:  Transaction to which this business rule is attached should contain the MathVariables that capture the ClientGUIDs.

<Fields>

Required element;
Used to specify the MathVariables in transactions from which the values should be copied from and fields in Client screen to which values should be copied to.

 

 

      <Field>

Repeatable element;
The opening and closing tag that encompasses <From> and <To>.

 

 

         <From>

This element is used to specify the MathVariable or field name from the transaction from where the data should be copied from.

 

Required element value;
MathVariable/ActivityField

Name of MathVariable or field from the transaction from where the data should be copied from.

          <To>

Required element;
This element is used to specify the fields in the Client screen to which the data should be copied to.

 

Required element value;
Field

Name of the field in Client screen to which the value should be copied to.

 

70BXML Example

<CopyToClientFields CLIENTGUID="ClientGUIDMV">

<Fields>

<Field>

<From>NewFirstNameMV</From>

<To>NewFirstNameField</To>

</Field>

<Field>

<FromCollection>NewLastNameMVCollection</FromCollection>

<To>NewLastNameField</To>

</Field>

</Fields>

</CopyToClientFields>

 

 

<CopyToClientFields>

<Client CLIENTGUID="ClientGUIDMV">

<Fields>

<Field>

<From>NewFirstNameMV</From>

<To>NewFirstNameField</To>

</Field>

<Field>

<FromCollection>NewLastNameMVCollection</FromCollection>

<To>NewLastNameField</To>

</Field>

</Fields>

</Client>

</CopyToClientFields>

 

 

Schema Example

<CopyToClientFields>

<Client CLIENTGUID="">

<Fields>

<Field>

<From\>

<To\>

</Field>

<Field>

<FromCollection\>

<To\>

</Field>

</Fields>

</Client>

</CopyToClientFields>

 

 

 

<CopyToClientFields CLIENTGUID="[String]">

<Fields>

<Field>

<From\>

<To\>

</Field>

<Field>

<FromCollection\>

<To\>

</Field>

</Fields>

</CopyToClientFields>